package com.ssy.lingxi.system.dto.response;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class MiddlegroundUserLoginResponse {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "用户名字")
    private String name;

    @ApiModelProperty(value = "状态：1.有效 2.无效")
    private Integer state;

    @ApiModelProperty(value = "电话号码")
    private String tel;

    @ApiModelProperty(value = "更新时间")
    private Long updateTime;

    @ApiModelProperty(value = "最后一次登录时间")
    private Long finallyLoginTime;

    @ApiModelProperty("用户密码")
    private String password;

    @ApiModelProperty(value = "所属角色")
    private List<RoleLoginResponse> roles;

    public Long getFinallyLoginTime() {
        return finallyLoginTime;
    }

    public void setFinallyLoginTime(Long finallyLoginTime) {
        this.finallyLoginTime = finallyLoginTime;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public List<RoleLoginResponse> getRoles() {
        return roles;
    }

    public void setRoles(List<RoleLoginResponse> roles) {
        this.roles = roles;
    }
}
